package com.woniuxy.woniuticket.ordermodule.dto;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Wu xianbo on 2019/6/4
 * 购物车dto，用于接收提交座位的参数
 */

@Data
public class CartDTO implements Serializable {

    private Integer scheduleId;  //排片id

    private Integer userInfoId;    //用户infoid

    private List<String> seatNumbers;   //座位号,存放订单中时需要改为movieseat类型的集合

    private Integer ticketNum;    //票数

    public Integer getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Integer scheduleId) {
        this.scheduleId = scheduleId;
    }

    public Integer getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Integer userInfoId) {
        this.userInfoId = userInfoId;
    }

    public List<String> getSeatNumbers() {
        return seatNumbers;
    }

    public void setSeatNumbers(List<String> seatNumbers) {
        this.seatNumbers = seatNumbers;
    }

    public Integer getTicketNum() {
        return ticketNum;
    }

    public void setTicketNum(Integer ticketNum) {
        this.ticketNum = ticketNum;
    }
}
